//
//  Person.h
//  SSL_Runtime_Learn
//
//  Created by SSLong on 2018/2/7.
//  Copyright © 2018年 sunshilong. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol PersonDelegate <NSObject>

- (void)getBack;
@end

@interface Person : NSObject<NSCoding>
@property (nonatomic,strong) NSString  *name;  //姓名
@property (nonatomic,strong) NSString  *idcard;//身份证
@property (nonatomic,  copy) NSNumber  *age;    //年龄
@property (nonatomic,  copy) NSNumber  *height; //身高
@property (nonatomic,strong) Person    *student;//嵌套模型，在转换过程中会走递归方法
@property (nonatomic,  weak) id<PersonDelegate>delegate;

- (void)initAperson;
- (void)hello:(NSString*)name andAge:(NSInteger)age;
- (NSString*)goodMornig:(NSString*)name;
- (float)getHeight;
@end
